From Data Analysis to Manuscript Creation and Website Publishing
Edit your ssh file on your local machine:
Copy/Paste replacing YOUR_ONYEN with your actual ONYEN:
Save and exit the file (Ctrl + O, Enter, Ctrl + X).
Login to longleaf from your terminal:
Create a SLURM script for Positron sessions (type: nano interactive) and paste:
Save and exit the file (Ctrl + O, Enter, Ctrl + X).
Submit the SLURM script to start an interactive session:
You will see something like this:
salloc: Pending job allocation 31348688
salloc: job 31348688 queued and waiting for resources
salloc: job 31348688 has been allocated resources
salloc: Granted job allocation 31348688
salloc: Nodes c0402 are ready for job
Copy the node name (e.g., c0402)
In Positron, go to positron > settings > and type: kernel supervisor: run - Select the checkbox for “Run Kernels in a login shell”
Next type: cmd-shift-p or ctrl-shift-p to open the command palette and type: ssh
Type:
<<cluster id>>.ll.unc.edu and hit enter
In Positron, go to New > New Folder from Git > and paste the URL of your GitHub repository Next, select New > New File > Quarto Project > Manuscript Project
index.qmd file as your main manuscript file and edit it with your contentreferences.bib file to manage your bibliography and citationsMany journals now have their own Quarto template for manuscript formatting, found here. Follow their instructions for adding the template as an extension. Before publishing go to your GitHub repository.
https://<your-github-username>.github.io/<repository-name>/Back is Positron your yaml should look something like this:
Before publishing, make sure to commit and push your changes to GitHub.
To publish your manuscript as a website, run the following command in your terminal:
Go to your GitHub repository and navigate to Settings > Pages and your live site should be listed.